package com.github.llyb120.dsl

class DslElement {
    String name;
    List<DslProperty> propertyList = [];
    boolean root


    Set<String> dependList = []
    Set<String> multiplePropertyList = []
    List<String[]> constructors = []



    String getTypeName(String property){
        return propertyList.find {it.getName().equals(property)}
            .getType().getSimpleName()
    }
}
